import java.io.*;
import java.nio.charset.Charset;
import java.util.Arrays;

public class FindMyTab {
    public static void main(String[] args) throws IOException {
//        FileInputStream fileInputStream = new FileInputStream("C:\\Users\\35326\\AppData\\Roaming\\Rime\\mywubi86.dict.yaml");
        FileInputStream fileInputStream = new FileInputStream("C:\\Users\\35326\\AppData\\Roaming\\Rime\\test.yaml");
        InputStreamReader inputStreamReader = new InputStreamReader(fileInputStream, Charset.forName("UTF-8"));
        OutputStreamWriter outputStreamWriter = new OutputStreamWriter(new FileOutputStream("out.txt"),Charset.forName("UTF-8"));
//        char[] buffer = new char[8];
//        int len=-1;
//        while((len=inputStreamReader.read(buffer))!=-1){
////            System.out.println(buffer.length);
//            for (int i = 0; i < buffer.length-1; i++) {
//                if(buffer[i]=='工'){
//                    System.out.println((int)buffer[i+1]);
//                }
//            }
//            outputStreamWriter.write(Arrays.toString(buffer));
//        }

        char c;
        System.out.println(inputStreamReader.read());
        inputStreamReader.close();
        fileInputStream.close();
    }
}
